@import '/css-modules/variable/common';
@import '/css-modules/common/animate.less';

.san-dialog-wrap{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;    
}         
.s-dialog {
    position: fixed !important;
    z-index: 99;
}
// .beFixed {
//     top: 0 !important;
//     bottom: 0;
//     left: 0;
//     right: 0;
//     margin: auto;
// }
.table-wrapper{
    position: relative;
    z-index: 222;
    display: table;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    height: 100%;
}
.dialog-ctn-wrap{
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    .bounceIn();
}
.dialog-mask {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: .5;
    margin: auto;
}
.dialog-ctn {
    display: inline-block;
    vertical-align: middle;
    width: 416px;
    height: auto;
    background-color: #fff;
    z-index: 100;
    top: 276px;
    left: 0;
    right: 0;
    text-align: left;
    border-radius: 2px;
    .head {
        width: 100%;
        height: 48px;
        line-height: 48px;
        padding: 0 0 0 16px;
        font-size: 0;
        border-bottom: 1px solid #eaeaea;
        box-sizing: border-box;
        .iconfont {
            display: inline-block;
            font-size: 12px;
            vertical-align: middle;
        }
        .icon-icon_close {
            float: right;
            color: #999;
            cursor: pointer;
            transition: .5s;
            padding: 0 16px;
            &:hover {
                transform: rotateZ(90deg);
                color: @basic-tab-active;
            }
        }
        h1 {
            display: inline-block;
            font-size: 14px;
            color: #333;
            vertical-align: middle;
        }
    }
    .ctn {
        height: auto;
        min-height: 100px;
        padding: 16px;
        background: #fff;
    }
    .btm {
        overflow: hidden;
        padding: 0 16px;
        height: 48px;
        border-top: 1px solid #eaeaea;
        background-color: #fff;
        border-radius: 2px;
        .iconfont {
            display: inline-block;
            color: #fff;
            font-size: @font-14;
        }
        .btn {
            float: right;
            height: 32px;
            line-height: 32px;
            border-radius: 2px;
            font-size: 12px;
            margin-left: 8px;
            margin-top: 8px;
            padding: 0;
        }
        .btn-primary {
            width: auto;
            padding: 0 8px;
            background-color: #1890FF;
            border: none;
            min-width: 64px;
            .main-btn;
        }
        .btn-default {
            width: 64px;
            .sim-btn;
        }
    }
}

.lockScreen {
    position: fixed;
    left: 0;
    right: 0;
    overflow: hidden;
    margin: auto;
}

.comfirm-rotate {
    animation: rotate 1s linear infinite forwards;
}

@keyframes rotate {
    form {
        transform: rotateZ(0)
    }
    to {
        transform: rotate(360deg)
    }
}